<table style="width:100%;">
<tr>
{foreach from=$aFriends item=aFriend name=friends}
<td style="text-align:center; font-size:7pt;" class="border13">
    <a href="{url link='public.user' name=$aFriend.user}">
        {Account::Avatar sUser=$aFriend.user iSize=75 class="pic1" onmouseover="showInfo5('`$aFriend.user`', '', '');this.className='pic2';" onmouseout="this.className='pic1';return nd();"}
    </a>
</td>
    {if $smarty.foreach.friends.iteration % $iRowSize == 0}
    </tr>
    <tr>
	{/if}
{foreachelse}
<td>
    <div class="message_info">{language text="there_are_no_friends_yet"}</div>
</td>
{/foreach}
</tr>
</table>
{if count($aFriends)}
<div style="padding:5px; text-align:right;">
	<a class="link_action" href="{url link=public.account.friends}">[ {language text="view_all_friends"} ]</a>
</div>
{/if}